Integrand size = 26, antiderivative size = 29 \[ \int \sec ^2(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i (a+i a \tan (c+d x))^{3/2}}{3 a d} \]
[Out]
Time = 0.07 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {3568, 32} \[ \int \sec ^2(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i (a+i a \tan (c+d x))^{3/2}}{3 a d} \]
[In]
[Out]
Rule 32
Rule 3568
Rubi steps \begin{align*} \text {integral}& = -\frac {i \text {Subst}\left (\int \sqrt {a+x} \, dx,x,i a \tan (c+d x)\right )}{a d} \\ & = -\frac {2 i (a+i a \tan (c+d x))^{3/2}}{3 a d} \\ \end{align*}
Time = 0.07 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.00 \[ \int \sec ^2(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i (a+i a \tan (c+d x))^{3/2}}{3 a d} \]
[In]
[Out]
Time = 0.66 (sec) , antiderivative size = 24, normalized size of antiderivative = 0.83
method | result | size |
derivativedivides | \(-\frac {2 i \left (a +i a \tan \left (d x +c \right )\right )^{\frac {3}{2}}}{3 a d}\) | \(24\) |
default | \(-\frac {2 i \left (a +i a \tan \left (d x +c \right )\right )^{\frac {3}{2}}}{3 a d}\) | \(24\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 46 vs. \(2 (21) = 42\).
Time = 0.24 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.59 \[ \int \sec ^2(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {4 i \, \sqrt {2} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} e^{\left (3 i \, d x + 3 i \, c\right )}}{3 \, {\left (d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )}} \]
[In]
[Out]
\[ \int \sec ^2(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=\int \sqrt {i a \left (\tan {\left (c + d x \right )} - i\right )} \sec ^{2}{\left (c + d x \right )}\, dx \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.72 \[ \int \sec ^2(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i \, {\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac {3}{2}}}{3 \, a d} \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 55 vs. \(2 (21) = 42\).
Time = 0.52 (sec) , antiderivative size = 55, normalized size of antiderivative = 1.90 \[ \int \sec ^2(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {2 i \, \left (\frac {a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 2 i \, a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - a}{\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1}\right )^{\frac {3}{2}}}{3 \, a d} \]
[In]
[Out]
Time = 0.64 (sec) , antiderivative size = 82, normalized size of antiderivative = 2.83 \[ \int \sec ^2(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {\left (\cos \left (2\,c+2\,d\,x\right )+1+\sin \left (2\,c+2\,d\,x\right )\,1{}\mathrm {i}\right )\,\sqrt {\frac {a\,\left (\cos \left (2\,c+2\,d\,x\right )+1+\sin \left (2\,c+2\,d\,x\right )\,1{}\mathrm {i}\right )}{\cos \left (2\,c+2\,d\,x\right )+1}}\,2{}\mathrm {i}}{3\,d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \]
[In]
[Out]